package com.qm.console.dao.model;

import java.util.Date;

public class BxJobDO {
    private Integer id;

    private String jobName;

    private Integer type;

    private Integer state;

    private String groupers;

    private String displayFields;

    private Date createTime;

    private Date updateTime;

    private Date lastFinishTime;

    private Boolean needRefreshTable;

    private String lastFailedReason;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName == null ? null : jobName.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getGroupers() {
        return groupers;
    }

    public void setGroupers(String groupers) {
        this.groupers = groupers == null ? null : groupers.trim();
    }

    public String getDisplayFields() {
        return displayFields;
    }

    public void setDisplayFields(String displayFields) {
        this.displayFields = displayFields == null ? null : displayFields.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getLastFinishTime() {
        return lastFinishTime;
    }

    public void setLastFinishTime(Date lastFinishTime) {
        this.lastFinishTime = lastFinishTime;
    }

    public Boolean getNeedRefreshTable() {
        return needRefreshTable;
    }

    public void setNeedRefreshTable(Boolean needRefreshTable) {
        this.needRefreshTable = needRefreshTable;
    }

    public String getLastFailedReason() {
        return lastFailedReason;
    }

    public void setLastFailedReason(String lastFailedReason) {
        this.lastFailedReason = lastFailedReason == null ? null : lastFailedReason.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", jobName=").append(jobName);
        sb.append(", type=").append(type);
        sb.append(", state=").append(state);
        sb.append(", groupers=").append(groupers);
        sb.append(", displayFields=").append(displayFields);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", lastFinishTime=").append(lastFinishTime);
        sb.append(", needRefreshTable=").append(needRefreshTable);
        sb.append(", lastFailedReason=").append(lastFailedReason);
        sb.append("]");
        return sb.toString();
    }
}